projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a292c99
)
(find-file-noselect): Never set SAME-TRUENAME to a buffer whose
author
Roland McGrath
<roland@gnu.org>
Mon, 19 Apr 1993 20:36:23 +0000
(20:36 +0000)
committer
Roland McGrath
<roland@gnu.org>
Mon, 19 Apr 1993 20:36:23 +0000
(20:36 +0000)
buffer-file-name is nil.
lisp/files.el
patch
|
blob
|
history
diff --git
a/lisp/files.el
b/lisp/files.el
index 3423d87f2ce6eb6f831c827d70cb36859280c655..b9515ddfc7dfd6ef087543d2c89066ec6886e606 100644
(file)
--- a/
lisp/files.el
+++ b/
lisp/files.el
@@
-468,7
+468,8
@@
The buffer is not selected, just returned to the caller."
(while (and (not found) list)
(save-excursion
(set-buffer (car list))
- (if (string= buffer-file-truename truename)
+ (if (and buffer-file-name
+ (string= buffer-file-truename truename))
(setq found (car list))))
(setq list (cdr list)))
found)))